package org.fulmen;

public enum Level
{
    OFF,
    TRACE,
    DEBUG,
    INFO,
    WARN,
    ERROR,
    FATAL,
    ALL;

    public boolean allowLogOf(final Level otherLevel)
    {
        return ordinal() <= otherLevel.ordinal();
    }
}
